

// 外地的jS
// document.write("<script src=\"https://js.arcgis.com/4.15/\"></script>");
document.write("<script src=\"https://js.arcgis.com/4.31/\"></script>");
document.write("<link rel=\"stylesheet\" href=\"https://js.arcgis.com/4.15/esri/themes/light/main.css\"/>");
document.write("<link rel=\"stylesheet\" href=\"https://js.arcgis.com/4.15/dijit/themes/claro/claro.css\"/>");

//阿里服务器的JS
// document.write("<link rel=\"stylesheet\" href=\"http://115.28.130.92:82/arcgis_js_api/library/4.15/dijit/themes/claro/claro.css\" />");
// document.write("<link rel=\"stylesheet\" href=\"http://115.28.130.92:82/arcgis_js_api/library/4.15/esri/themes/light/main.css\" />");
//引入JS
// document.write("<script src=\"http://115.28.130.92:82/arcgis_js_api/library/4.15/dojo/dojo.js\"></script>");


// 本地的JS
//引入CSS
var pathUlr = "http://" + window.location.hostname;
// document.write("<link rel=\"stylesheet\" href=\""+pathUlr+"arcgis_js_v415_sdk/arcgis_js_api/library/4.15/dijit/themes/claro/claro.css\" />");
// document.write("<link rel=\"stylesheet\" href=\""+pathUlr+"arcgis_js_v415_sdk/arcgis_js_api/library/4.15/esri/themes/light/main.css\" />");
// //引入JS
// document.write("<script src=\""+pathUlr+"/arcgis_js_v415_sdk/arcgis_js_api/library/4.15/dojo/dojo.js\"></script>");
